package com.wyh.domain.vo.gruopfour.myProprietorVO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayDataVO {

    //账单id
    @ApiModelProperty(value = "账单ID")
    private Integer id;

    //账期
    @ApiModelProperty(value = "账单账期")
    @JsonFormat(pattern = "yyyy-MM")
    private LocalDate accounttime;
    //应缴金额
    @ApiModelProperty(value = "应缴金额")
    private Double receivable;
    //待付金额
    @ApiModelProperty(value = "待付金额")
    private Double totalArrears;

    //欠费金额
    @JsonIgnore
    private Double arrears;

    //是否开票
    @ApiModelProperty(value = "是否开票；0未开票，1已开票，2部分开票")
    private Integer state;

    //是否结清
    @ApiModelProperty(value = "是否结清；0未结清，1已结清，2部分结清")
    private Integer isSettled;


}
